package com.platform.system.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.platform.common.annotation.Excel;
import com.platform.common.core.domain.BaseEntity;

/**
 * 商家对象 pro_product_order
 *
 * @author platform
 * @date 2025-02-27
 */
@Schema(name = "商家对象", description = "")
public class ProProductOrder extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 主键ID */
    @Schema(description = "主键ID", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long id;

    /** 商品ID */
            @Excel(name = "商品ID")
    @Schema(description = "商品ID", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long producproId;

    /** 订单ID */
            @Excel(name = "订单ID")
    @Schema(description = "订单ID", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long orderId;

    /** 数量 */
            @Excel(name = "数量")
    @Schema(description = "数量", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long count;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setProducproId(Long producproId)
            {
            this.producproId = producproId;
            }

    public Long getProducproId()
            {
            return producproId;
            }
    public void setOrderId(Long orderId)
            {
            this.orderId = orderId;
            }

    public Long getOrderId()
            {
            return orderId;
            }
    public void setCount(Long count)
            {
            this.count = count;
            }

    public Long getCount()
            {
            return count;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("producproId",getProducproId())
            .append("orderId",getOrderId())
            .append("count",getCount())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
        .toString();
        }
        }
